package com.baway.empty

import android.app.Service
import android.content.Intent
import android.os.IBinder

/**
 * AIDLservice端
 */
class AidlService : Service() {


    private val mBinder: IBinder = object : IService.Stub(){
        override fun add(num1: Int, num2: Int): Int {
            return num1 + num2
        }
    }

    override fun onBind(intent: Intent): IBinder = mBinder


}

